package com.example.guiguiapplicatio.fragment.examination.placeholder;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ExaminationSigningPlaceholderContent {
    public static final List<ExaminationSigningPlaceholderContent.PlaceholderItem> ITEMS = new ArrayList<ExaminationSigningPlaceholderContent.PlaceholderItem>();
    public static final Map<String, ExaminationSigningPlaceholderContent.PlaceholderItem> ITEM_MAP = new HashMap<String, ExaminationSigningPlaceholderContent.PlaceholderItem>();
    public static void addItem(ExaminationSigningPlaceholderContent.PlaceholderItem item) {
        ITEMS.add(item);
        ITEM_MAP.put(item.idcard, item);
    }
    public static class PlaceholderItem {
        private String idcard;
        private String name;
        private String sex;
        private Integer age;
        private List<String> listenername;
        public PlaceholderItem(String idcard, String name, String sex, Integer age, List<String> listenername){
            this.idcard = idcard;
            this.name = name;
            this.sex = sex;
            this.age = age;
            this.listenername = listenername;
        }

        public String getIdcard() {
            return idcard;
        }

        public String getName() {
            return name;
        }

        public String getSex() {
            return sex;
        }

        public Integer getAge() {
            return age;
        }

        public List<String> getListenername() {
            return listenername;
        }
    }
}
